What are you using the debugger for? [closed]

Posted by Peter Gfader on Programmers See other posts from Programmers or by Peter Gfader
Published on 2011-06-24T08:41:20Z Indexed on 2011/06/24 16:31 UTC
Read the original article Hit count: 196

Filed under:

Some scenarios that I can think of:

  1. Reading/Understanding code
  2. Understanding the flow (what happens when)
  3. Stop program and see where it is up to
    a. Attach debugger
    b. Exception --> Debug
  4. Discover API
  5. Run to breakpoint and verify state

The question got closed on SO, so I ask here...
http://stackoverflow.com/questions/6462461/what-do-you-use-the-debugger-for

What are you using the debugger for?
Which scenario did you ran into, that you needed the debugger?
Could you have done it differently?

© Programmers or respective owner

Related posts about debugging